package com.jumi.microservice.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @author scw
 * @date 2021/1/7
 */
@Configuration
@RefreshScope
public class PddCpsConfig {
        @Value("${pdd.clientId}")
        String pddClientId;

        @Value("${pdd.clientSecret}")
        String pddClientSecret;

        public String getPddClientId() {
            return pddClientId;
        }

        public void setPddClientId(String pddClientId) {
            this.pddClientId = pddClientId;
        }

        public String getPddClientSecret() {
            return pddClientSecret;
        }

        public void setPddClientSecret(String pddClientSecret) {
            this.pddClientSecret = pddClientSecret;
        }
}
